/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package FigurasGeometricas;

public class Cuadrado extends Rectangulo{
    protected double lado;
    
    public Cuadrado(){
        lado=5;
    }
    
    public Cuadrado(int longitud){
        super(longitud,longitud);
    }
    
    @Override
    public double calcular_area(){
        return super.calcular_area();
    }
}
